<!doctype html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>首页</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.4.1/dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="/css/style.css">
</head>

<body class="bg-light">
    <nav class="navbar navbar-expand-lg navbar-dark bg-dark">
        <a class="navbar-brand" href="#">
            <img src="/img/logo.png" width="30" height="30" alt="">
        </a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent">
            <span class="navbar-toggler-icon"></span>
        </button>

        <div class="collapse navbar-collapse" id="navbarSupportedContent">
            <ul class="navbar-nav">
                <li class="nav-item">
                    <a class="nav-link" href="/">首页</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="#">link1</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="#">link2</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="#">link3</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="#">link4</a>
                </li>
            </ul>
            <form class="form-inline my-2 my-lg-0 ml-5" method="get" action='/article/search'>
                <input class="form-control mr-sm-2" name="keyword" type="search" placeholder="请输入关键词...">
                <button class="btn btn-outline-success my-2 my-sm-0" type="submit">搜索</button>
            </form>
            <ul class="navbar-nav ml-auto">
                <li class="nav-item">
                    <a href="/login" class="nav-link">登录</a>
                </li>
                <li class="nav-item dropdown">
                    <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" data-toggle="dropdown">
                        admin
                    </a>
                    <div class="dropdown-menu">
                        <a class="dropdown-item" href="/user/logout">退出</a>
                    </div>
                </li>
            </ul>
        </div>
    </nav>

<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
    <ol class="carousel-indicators">
        <li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
        <li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
        <li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
    </ol>
    <div class="carousel-inner">
        <div class="carousel-item active">
            <img src="holder.js/100px400?text=图一&random=yes" class="d-block w-100" alt="...">
        </div>
        <div class="carousel-item">
            <img src="holder.js/100px400?text=图二&random=yes" class="d-block w-100" alt="...">
        </div>
        <div class="carousel-item">
            <img src="holder.js/100px400?text=图三&random=yes" class="d-block w-100" alt="...">
        </div>
    </div>
    <a class="carousel-control-prev" href="#carouselExampleIndicators" data-slide="prev">
        <span class="carousel-control-prev-icon"></span>
    </a>
    <a class="carousel-control-next" href="#carouselExampleIndicators" data-slide="next">
        <span class="carousel-control-next-icon"></span>
    </a>
</div>

<div class="container mt-5">
    <h2 class="mb-4">热门推荐</h2>
    <div class="card-deck">
        <div class="card">
            <img src="holder.js/100px200" class="card-img-top" alt="...">
            <div class="card-body">
                <h5 class="card-title">标题</h5>
                <p class="card-text"><small class="text-muted">2018-10-10 20:14:52</small></p>
                <p class="card-text">内容简要...</p>
            </div>
            <div class="card-footer bg-white border-0">
                <a href="#" class="btn btn-primary float-right stretched-link">查看详情</a>
            </div>
        </div>
        <div class="card">
            <img src="holder.js/100px200" class="card-img-top" alt="...">
            <div class="card-body">
                <h5 class="card-title">标题</h5>
                <p class="card-text"><small class="text-muted">2018-10-10 20:14:52</small></p>
                <p class="card-text">内容简要...</p>
            </div>
            <div class="card-footer bg-white border-0">
                <a href="#" class="btn btn-primary float-right stretched-link">查看详情</a>
            </div>
        </div>
        <div class="card">
            <img src="holder.js/100px200" class="card-img-top" alt="...">
            <div class="card-body">
                <h5 class="card-title">标题</h5>
                <p class="card-text"><small class="text-muted">2018-10-10 20:14:52</small></p>
                <p class="card-text">内容简要...</p>
            </div>
            <div class="card-footer bg-white border-0">
                <a href="#" class="btn btn-primary float-right stretched-link">查看详情</a>
            </div>
        </div>
    </div>
</div>

<div class="container mt-5">
    <h2 class="mb-4">最新博文</h2>
    <div class="row row-cols-4">
        <div class="col my-3">
            <div class="card h-100">
                <img src="holder.js/100px150" class="card-img-top" alt="...">
                <div class="card-body">
                    <h5 class="card-title">标题</h5>
                    <p class="card-text"><small class="text-muted">2018-10-10 20:14:52</small></p>
                    <p class="card-text">内容简要...</p>
                    <a href="#" class="stretched-link"></a>
                </div>
            </div>
        </div>
        <div class="col my-3">
            <div class="card h-100">
                <img src="holder.js/100px150" class="card-img-top" alt="...">
                <div class="card-body">
                    <h5 class="card-title">标题</h5>
                    <p class="card-text"><small class="text-muted">2018-10-10 20:14:52</small></p>
                    <p class="card-text">内容简要...</p>
                    <a href="#" class="stretched-link"></a>
                </div>
            </div>
        </div>
        <div class="col my-3">
            <div class="card h-100">
                <img src="holder.js/100px150" class="card-img-top" alt="...">
                <div class="card-body">
                    <h5 class="card-title">标题</h5>
                    <p class="card-text"><small class="text-muted">2018-10-10 20:14:52</small></p>
                    <p class="card-text">内容简要...</p>
                    <a href="#" class="stretched-link"></a>
                </div>
            </div>
        </div>
        <div class="col my-3">
            <div class="card h-100">
                <img src="holder.js/100px150" class="card-img-top" alt="...">
                <div class="card-body">
                    <h5 class="card-title">标题</h5>
                    <p class="card-text"><small class="text-muted">2018-10-10 20:14:52</small></p>
                    <p class="card-text">内容简要...</p>
                    <a href="#" class="stretched-link"></a>
                </div>
            </div>
        </div>
        <div class="col my-3">
            <div class="card h-100">
                <img src="holder.js/100px150" class="card-img-top" alt="...">
                <div class="card-body">
                    <h5 class="card-title">标题</h5>
                    <p class="card-text"><small class="text-muted">2018-10-10 20:14:52</small></p>
                    <p class="card-text">内容简要...</p>
                    <a href="#" class="stretched-link"></a>
                </div>
            </div>
        </div>
        <div class="col my-3">
            <div class="card h-100">
                <img src="holder.js/100px150" class="card-img-top" alt="...">
                <div class="card-body">
                    <h5 class="card-title">标题</h5>
                    <p class="card-text"><small class="text-muted">2018-10-10 20:14:52</small></p>
                    <p class="card-text">内容简要...</p>
                    <a href="#" class="stretched-link"></a>
                </div>
            </div>
        </div>
        <div class="col my-3">
            <div class="card h-100">
                <img src="holder.js/100px150" class="card-img-top" alt="...">
                <div class="card-body">
                    <h5 class="card-title">标题</h5>
                    <p class="card-text"><small class="text-muted">2018-10-10 20:14:52</small></p>
                    <p class="card-text">内容简要...</p>
                    <a href="#" class="stretched-link"></a>
                </div>
            </div>
        </div>
        <div class="col my-3">
            <div class="card h-100">
                <img src="holder.js/100px150" class="card-img-top" alt="...">
                <div class="card-body">
                    <h5 class="card-title">标题</h5>
                    <p class="card-text"><small class="text-muted">2018-10-10 20:14:52</small></p>
                    <p class="card-text">内容简要...</p>
                    <a href="#" class="stretched-link"></a>
                </div>
            </div>
        </div>
        <div class="col my-3">
            <div class="card h-100">
                <img src="holder.js/100px150" class="card-img-top" alt="...">
                <div class="card-body">
                    <h5 class="card-title">标题</h5>
                    <p class="card-text"><small class="text-muted">2018-10-10 20:14:52</small></p>
                    <p class="card-text">内容简要...</p>
                    <a href="#" class="stretched-link"></a>
                </div>
            </div>
        </div>
        <div class="col my-3">
            <div class="card h-100">
                <img src="holder.js/100px150" class="card-img-top" alt="...">
                <div class="card-body">
                    <h5 class="card-title">标题</h5>
                    <p class="card-text"><small class="text-muted">2018-10-10 20:14:52</small></p>
                    <p class="card-text">内容简要...</p>
                    <a href="#" class="stretched-link"></a>
                </div>
            </div>
        </div>
        <div class="col my-3">
            <div class="card h-100">
                <img src="holder.js/100px150" class="card-img-top" alt="...">
                <div class="card-body">
                    <h5 class="card-title">标题</h5>
                    <p class="card-text"><small class="text-muted">2018-10-10 20:14:52</small></p>
                    <p class="card-text">内容简要...</p>
                    <a href="#" class="stretched-link"></a>
                </div>
            </div>
        </div>
    </div>
</div>



<footer class="bg-dark p-3 mt-3  text-center text-secondary small">
    <a href="#" class="text-secondary small">苏ICP备00000000号</a>
</footer>


<script src="https://cdn.jsdelivr.net/npm/jquery@3.4.1/dist/jquery.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.4.1/dist/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/holder/2.9.6/holder.min.js"></script>
<script src="/js/public.js"></script>
</body>

</html>